# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         homework01
# Description:
# Author:       ASUS
# Date:         2019/3/6
#-------------------------------------------------------------------------------



zhsh_dict = {
    '1到99':[],
    '100到999':[],
    "1000到1999":[]
}
leap = 1
for i in range(1,100):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['1到99'].append(i)
    leap = 1
leap = 1
for i in range(100,999):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['100到999'].append(i)
    leap = 1
leap = 1
for i in range(1000,1999):
    k = (int(i/2)+1)
    for j in range(2,k):
        if(i%j == 0):
            leap = 0
            break
    if leap:
        print(i)
        zhsh_dict['1000到1999'].append(i)
    leap = 1
print(zhsh_dict)




